home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / ROMDefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  4.8 KB  |  100 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ROMDefs.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __ROMDEFS__
  13. #define __ROMDEFS__
  14.  
  15.  
  16. enum {
  17.  
  18.     appleFormat = 1,                        /*Format of Declaration Data (IEEE will assign real value)*/
  19.     romRevision = 1,                        /*Revision of Declaration Data Format*/
  20.     testPattern = 1519594439,               /*FHeader long word test pattern*/
  21.  
  22.     sCodeRev = 2,                           /*Revision of code (For sExec)*/
  23.     sCPU68000 = 1,                          /*CPU type = 68000*/
  24.     sCPU68020 = 2,                          /*CPU type = 68020*/
  25.     sCPU68030 = 3,                          /*CPU type = 68030*/
  26.     sCPU68040 = 4,                          /*CPU type = 68040*/
  27.     sMacOS68000 = 1,                        /*Mac OS, CPU type = 68000*/
  28.     sMacOS68020 = 2,                        /*Mac OS, CPU type = 68020*/
  29.     sMacOS68030 = 3,                        /*Mac OS, CPU type = 68030*/
  30.     sMacOS68040 = 4,                        /*Mac OS, CPU type = 68040*/
  31.  
  32.     board = 0,                              /*Board sResource - Required on all boards*/
  33.     displayVideoAppleTFB = 16843009,        /*Video with Apple parameters for TFB card.*/
  34.     displayVideoAppleGM = 16843010,         /*Video with Apple parameters for GM card.*/
  35.     networkEtherNetApple3Com = 33620225,    /*Ethernet with apple parameters for 3-Comm card.*/
  36.     testSimpleAppleAny = -2147417856,       /*A simple test sResource.*/
  37.     endOfList = 255,                        /*End of list*/
  38.     defaultTO = 100,                        /*100 retries.*/
  39.  
  40.     sRsrcType = 1                           /*Type of sResource*/
  41. };
  42. enum {
  43.     sRsrcName = 2,                          /*Name of sResource*/
  44.     sRsrcIcon = 3,                          /*Icon*/
  45.     sRsrcDrvrDir = 4,                       /*Driver directory*/
  46.     sRsrcLoadDir = 5,                       /*Load directory*/
  47.     sRsrcBootRec = 6,                       /*sBoot record*/
  48.     sRsrcFlags = 7,                         /*sResource Flags*/
  49.     sRsrcHWDevId = 8,                       /*Hardware Device Id*/
  50.     minorBaseOS = 10,                       /*Offset to base of sResource in minor space.*/
  51.     minorLength = 11,                       /*Length of sResource’s address space in standard slot space.*/
  52.     majorBaseOS = 12,                       /*Offset to base of sResource in Major space.*/
  53.     majorLength = 13,                       /*Length of sResource in super slot space.*/
  54.     sRsrccicn = 15,                         /*Color icon*/
  55.     sRsrcicl8 = 16,                         /*8-bit (indexed) icon*/
  56.     sRsrcicl4 = 17,                         /*4-bit (indexed) icon*/
  57.     sGammaDir = 64,                         /*sGamma directory*/
  58.     sDRVRDir = 16,                          /*sDriver directory*/
  59.  
  60.     drSwApple = 1,                          /*To ask for or define an Apple-compatible SW device.*/
  61.     drHwTFB = 1,                            /*HW ID for the TFB (original Mac II) video card.*/
  62.     drHw3Com = 1,                           /*HW ID for the Apple EtherTalk card.*/
  63.     drHwBSC = 3
  64. };
  65. enum {
  66.     catBoard = 1,                           /*Category for board types.*/
  67.     catTest = 2,                            /*Category for test types -- not used much.*/
  68.     catDisplay = 3,                         /*Category for display (video) cards.*/
  69.     catNetwork = 4,                         /*Category for Networking cards.*/
  70.  
  71.     boardId = 32,                           /*Board Id*/
  72.     pRAMInitData = 33,                      /*sPRAM init data*/
  73.     primaryInit = 34,                       /*Primary init record*/
  74.     timeOutConst = 35,                      /*Time out constant*/
  75.     vendorInfo = 36,                        /*Vendor information List. See Vendor List, below*/
  76.     boardFlags = 37,                        /*Board Flags*/
  77.     secondaryInit = 38,                     /*Secondary init record/code*/
  78.     sRsrcVidNames = 65,                     /*Video mode name directory*/
  79.  
  80.     vendorId = 1,                           /*Vendor Id*/
  81.     serialNum = 2,                          /*Serial number*/
  82.     revLevel = 3,                           /*Revision level*/
  83.     partNum = 4,                            /*Part number*/
  84.     date = 5,                               /*Last revision date of the card*/
  85.  
  86.     typeBoard = 0,                          /*Type for board types.*/
  87.     typeApple = 1,
  88.     typeVideo = 1                           /*Type for video types.*/
  89. };
  90. enum {
  91.     typeEtherNet = 1,                       /*Type for ethernet types.*/
  92.     testByte = 32,                          /*Test byte.*/
  93.     testWord = 33,                          /*0021*/
  94.     testLong = 34,                          /*Test Long.*/
  95.     testString = 35                         /*Test String.*/
  96. };
  97.  
  98.  
  99. #endif
  100.